package dormouse.vfs.ui.actions;

import org.apache.commons.vfs2.FileObject;
import org.jdesktop.application.Application;

import dormouse.Dormouse;
import dormouse.DormouseView;

public class ReloadAction extends AbstractFileTask {
	
	public ReloadAction(Application app){
            super(app);
        }

    @Override
    protected Object doInBackground() throws Exception {
        Dormouse exp = (Dormouse) this.getApplication();
        DormouseView view = (DormouseView)exp.getMainView();
        FileObject currDir = view.getLocation();
        view.setLocation(currDir);
        return null;
    }





}
